package eoeProject.edenOfEast.page.account.accountDetailPage.component;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;

import eoeProject.edenOfEast.bean.EOEUserBean;

//@AuthorizeInstantiation("ADMIN")
public class AccountDetailListPanel extends Panel {
	private static final long serialVersionUID = 1L;

	public AccountDetailListPanel(String id, EOEUserBean userBean) {
		super(id);

		add(new Label("userName", userBean.getUserName()));
		add(new Label("introduction", userBean.getIntroduction()));
		add(new Label("totalGJ", userBean.getTotalGJ().toString()));
		add(new Label("twitter_link", userBean.getTwitterLink()));
		add(new Label("email", userBean.getEmail()));
		add(new Label("address", userBean.getAddress()));

	}
}
